//
//  SignName.h
//  计量检定现场记录
//
//  Created by 陈维华 on 16/5/4.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Masonry.h"

@protocol SignNameDelegate <NSObject>


-(void)getSignatureImg:(UIImage*)image;


@end


typedef void(^noSure)(void);

@interface SignName : UIView
{
    CGFloat min;
    CGFloat max;
    CGRect  origRect;
    CGFloat origionX;
    CGFloat totalWidth;
    BOOL isSure;
}

@property (strong,nonatomic) NSString *showMessage;
@property (nonatomic, assign) id<SignNameDelegate>delegate;
@property (nonatomic, copy) noSure block;
- (void)clear;
- (void)sure;

@end
